package com.example.sonone.pojo;


import com.example.sonone.config.MultiDataSourceHolder;

/**
 * Created by 爆裂无球 on 2019/4/17.
 */

public class BaseDomin {

    private String tableSuffix;
    private String aa;

    public BaseDomin() {
    }

    public BaseDomin(String tableSuffix, String aa) {
        this.tableSuffix = tableSuffix;
        this.aa = aa;
    }

    public String getTableSuffix() {
        this.tableSuffix = MultiDataSourceHolder.getTableIndex();
        return tableSuffix;
    }

    public void setTableSuffix(String tableSuffix) {
        this.tableSuffix = tableSuffix;
    }

    public String getAa() {
        return aa;
    }

    public void setAa(String aa) {
        this.aa = aa;
    }

    @Override
    public String toString() {
        return "BaseDomin{" +
                "tableSuffix='" + tableSuffix + '\'' +
                ", aa='" + aa + '\'' +
                '}';
    }
}
